.class public Lcom/wqmobile/sdk/model/AppSettings;
.super Ljava/lang/Object;


# instance fields
.field private AcceptsOfflineAD:Ljava/lang/String;

.field private AppID:Ljava/lang/String;

.field private AppStoreURL:Ljava/lang/String;

.field private BackgroundColor:Ljava/lang/String;

.field private BackgroundTransparency:Ljava/lang/String;

.field private FittingStrategy:Ljava/lang/String;

.field private Height:Ljava/lang/Integer;

.field private IP:Ljava/lang/String;

.field private LoopTimes:Ljava/lang/String;

.field private MaxOfflineAdShowCount:Ljava/lang/String;

.field private NextADCount:Ljava/lang/String;

.field private OfflineADCount:Ljava/lang/String;

.field private PublisherID:Ljava/lang/String;

.field private RefreshRate:Ljava/lang/Integer;

.field private TestMode:Ljava/lang/String;

.field private TextColor:Ljava/lang/String;

.field private TopLeftX:Ljava/lang/Integer;

.field private TopLeftY:Ljava/lang/Integer;

.field private URL:Ljava/lang/String;

.field private UseEmbeddedBrowser:Ljava/lang/String;

.field private UseInternalBrowser:Ljava/lang/Boolean;

.field private UseLocationInfo:Ljava/lang/String;

.field private Width:Ljava/lang/Integer;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "3"

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->OfflineADCount:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public acceptsOfflineAd()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public getAcceptsOfflineAD()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->AcceptsOfflineAD:Ljava/lang/String;

    return-object v0
.end method

.method public getAppID()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->AppID:Ljava/lang/String;

    return-object v0
.end method

.method public getAppStoreURL()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->AppStoreURL:Ljava/lang/String;

    return-object v0
.end method

.method public getBackgroundColor()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->BackgroundColor:Ljava/lang/String;

    return-object v0
.end method

.method public getBackgroundTransparency()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->BackgroundTransparency:Ljava/lang/String;

    return-object v0
.end method

.method public getFittingStrategy()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->FittingStrategy:Ljava/lang/String;

    return-object v0
.end method

.method public getHeight()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->Height:Ljava/lang/Integer;

    return-object v0
.end method

.method public getIP()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->IP:Ljava/lang/String;

    return-object v0
.end method

.method public getIntNextADCount()Ljava/lang/Integer;
    .locals 2

    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    :try_start_0
    iget-object v1, p0, Lcom/wqmobile/sdk/model/AppSettings;->NextADCount:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    return-object v0

    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method public getIntOfflineADCount()I
    .locals 1

    :try_start_0
    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->OfflineADCount:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    :goto_0
    return v0

    :catch_0
    move-exception v0

    const-string v0, "3"

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    goto :goto_0
.end method

.method public getLoopTimes()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->LoopTimes:Ljava/lang/String;

    return-object v0
.end method

.method public getMaxOfflineAdShowCount()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->MaxOfflineAdShowCount:Ljava/lang/String;

    return-object v0
.end method

.method public getNextADCount()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->NextADCount:Ljava/lang/String;

    return-object v0
.end method

.method public getOfflineADCount()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->OfflineADCount:Ljava/lang/String;

    return-object v0
.end method

.method public getPublisherID()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->PublisherID:Ljava/lang/String;

    return-object v0
.end method

.method public getRefreshRate()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->RefreshRate:Ljava/lang/Integer;

    return-object v0
.end method

.method public getTestMode()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->TestMode:Ljava/lang/String;

    return-object v0
.end method

.method public getTextColor()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->TextColor:Ljava/lang/String;

    return-object v0
.end method

.method public getTopLeftX()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->TopLeftX:Ljava/lang/Integer;

    return-object v0
.end method

.method public getTopLeftY()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->TopLeftY:Ljava/lang/Integer;

    return-object v0
.end method

.method public getURL()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->URL:Ljava/lang/String;

    return-object v0
.end method

.method public getUseEmbeddedBrowser()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseEmbeddedBrowser:Ljava/lang/String;

    return-object v0
.end method

.method public getUseInternalBrowser()Ljava/lang/Boolean;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseInternalBrowser:Ljava/lang/Boolean;

    return-object v0
.end method

.method public getUseLocationInfo()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseLocationInfo:Ljava/lang/String;

    return-object v0
.end method

.method public getWidth()Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->Width:Ljava/lang/Integer;

    return-object v0
.end method

.method public isOpenInEmbeddedBrowser()Z
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseEmbeddedBrowser:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseEmbeddedBrowser:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseEmbeddedBrowser:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "Y"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseInternalBrowser:Ljava/lang/Boolean;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseInternalBrowser:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public setAcceptsOfflineAD(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->AcceptsOfflineAD:Ljava/lang/String;

    return-void
.end method

.method public setAppID(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->AppID:Ljava/lang/String;

    return-void
.end method

.method public setAppStoreURL(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->AppStoreURL:Ljava/lang/String;

    return-void
.end method

.method public setBackgroundColor(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->BackgroundColor:Ljava/lang/String;

    return-void
.end method

.method public setBackgroundTransparency(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->BackgroundTransparency:Ljava/lang/String;

    return-void
.end method

.method public setFittingStrategy(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->FittingStrategy:Ljava/lang/String;

    return-void
.end method

.method public setHeight(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->Height:Ljava/lang/Integer;

    return-void
.end method

.method public setIP(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->IP:Ljava/lang/String;

    return-void
.end method

.method public setLoopTimes(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->LoopTimes:Ljava/lang/String;

    return-void
.end method

.method public setMaxOfflineAdShowCount(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->MaxOfflineAdShowCount:Ljava/lang/String;

    return-void
.end method

.method public setNextADCount(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->NextADCount:Ljava/lang/String;

    return-void
.end method

.method public setOfflineADCount(Ljava/lang/String;)V
    .locals 1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->OfflineADCount:Ljava/lang/String;

    :goto_0
    return-void

    :cond_0
    const-string v0, "3"

    iput-object v0, p0, Lcom/wqmobile/sdk/model/AppSettings;->OfflineADCount:Ljava/lang/String;

    goto :goto_0
.end method

.method public setPublisherID(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->PublisherID:Ljava/lang/String;

    return-void
.end method

.method public setRefreshRate(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->RefreshRate:Ljava/lang/Integer;

    return-void
.end method

.method public setTestMode(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->TestMode:Ljava/lang/String;

    return-void
.end method

.method public setTextColor(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->TextColor:Ljava/lang/String;

    return-void
.end method

.method public setTopLeftX(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->TopLeftX:Ljava/lang/Integer;

    return-void
.end method

.method public setTopLeftY(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->TopLeftY:Ljava/lang/Integer;

    return-void
.end method

.method public setURL(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->URL:Ljava/lang/String;

    return-void
.end method

.method public setUseEmbeddedBrowser(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseEmbeddedBrowser:Ljava/lang/String;

    return-void
.end method

.method public setUseInternalBrowser(Ljava/lang/Boolean;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseInternalBrowser:Ljava/lang/Boolean;

    return-void
.end method

.method public setUseLocationInfo(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->UseLocationInfo:Ljava/lang/String;

    return-void
.end method

.method public setWidth(Ljava/lang/Integer;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/model/AppSettings;->Width:Ljava/lang/Integer;

    return-void
.end method
